]> dgit.raspbian.org Git - gnome-shell.git/commit
appDisplay: Don't grow indicators more than the parent
authorCarlos Soriano <carlos.soriano89@gmail.com>
Tue, 5 Aug 2014 09:17:32 +0000 (11:17 +0200)
committerCarlos Soriano <carlos.soriano89@gmail.com>
Wed, 6 Aug 2014 07:41:29 +0000 (09:41 +0200)
commit84cbbafaaeea987033ade89dcf5b2e7e5593a2c5
treeafd15f20c761d62e43ae4e2a43c48a92adef86ad
parent72a663f5541e94767a701f03c073f265702e0db5
appDisplay: Don't grow indicators more than the parent

Currently the indicators are a BoxLayout inside a BinLayout in AllView.
BinLayout doesn't have any size constraint, so if the indicators request
a bigger size than AllView the entire overview is grown, causing the
overview to go crazy.

To avoid that, create an actor for the page indicators that request as
minimum size 0, and as a natural size, the sum of all indicators natural
sizes. Then we clip_to_allocation, so it doesn't grow more than the
parent.

https://bugzilla.gnome.org/show_bug.cgi?id=723496
js/ui/appDisplay.js